package com.design.util.moveBox;

public class CreateStats {
    private final Picture[] pictures = new Picture[]{
            Picture.getBox(),
            Picture.getBoxPoint(),
            Picture.getWall(),
            Picture.getGround()
    };
    private int key = 0;
    public void tab(){
        this.key ++;
        this.key = this.key == this.pictures.length  ? 0 : key;
    }
    public Picture get(){
        return this.pictures[key];
    }
}